;
(function () {
  'use strict';
  angular.module('controllers.analysisSysOM.responseTime')
    .controller('realTimeController', realTimeController);

  function realTimeController($scope, realTimeService,socketServer) {
    $scope.realTime = realTimeService;
    realTimeService.initSelectData();
    $scope.$on('$destroy', function () {
      //realTimeService.reset();
      socketServer.socket.removeAllListeners();

    });
  }

  realTimeController.$inject = ['$scope', 'realTimeService','socketServer'];
})();